﻿using System;
using YunZuan.Models.Attributes;
using YunZuan.Models.Entities;

namespace YunZuan.Models
{
    [Table(TableName = "yz_set_product_market_Discounts", PrimaryKey = "ID")]
    public class SetProductMarketDiscounts : BaseEntity
    {
        #region Model
        private int _id;
        /// <summary>
        ///
        /// </summary>
        [Column(IsAutoIncrement = true)]
        public int ID
        {
            get { return _id; }
            set { this.ChangeNotify<int>("ID", value, ref _id); }
        }
        private decimal _rebate = 1.00M;
        /// <summary>
        ///白钻折扣
        /// </summary>
        public decimal Rebate
        {
            get { return _rebate; }
            set { this.ChangeNotify<decimal>("Rebate", value, ref _rebate); }
        }
        private decimal _fancyrebate = 1.00M;
        /// <summary>
        ///彩钻折扣
        /// </summary>
        public decimal FancyRebate
        {
            get { return _fancyrebate; }
            set { this.ChangeNotify<decimal>("FancyRebate", value, ref _fancyrebate); }
        }
        private decimal _parcelrebate = 1.00M;
        /// <summary>
        ///统包折扣
        /// </summary>
        public decimal ParcelRebate
        {
            get { return _parcelrebate; }
            set { this.ChangeNotify<decimal>("ParcelRebate", value, ref _parcelrebate); }
        }
        private decimal _ringrebate = 1.00M;
        /// <summary>
        ///成品折扣
        /// </summary>
        public decimal RingRebate
        {
            get { return _ringrebate; }
            set { this.ChangeNotify<decimal>("RingRebate", value, ref _ringrebate); }
        }
        private decimal _gemrebate = 1.00M;
        /// <summary>
        ///彩宝折扣
        /// </summary>
        public decimal GemRebate
        {
            get { return _gemrebate; }
            set { this.ChangeNotify<decimal>("GemRebate", value, ref _gemrebate); }
        }
        private decimal _emeraldrebate = 1.00M;
        /// <summary>
        ///翡翠折扣
        /// </summary>
        public decimal EmeraldRebate
        {
            get { return _emeraldrebate; }
            set { this.ChangeNotify<decimal>("EmeraldRebate", value, ref _emeraldrebate); }
        }
        private decimal _primegoldrebate = 1.00M;
        /// <summary>
        ///素金折扣
        /// </summary>
        public decimal PrimeGoldRebate
        {
            get { return _primegoldrebate; }
            set { this.ChangeNotify<decimal>("PrimeGoldRebate", value, ref _primegoldrebate); }
        }
        private decimal _inlaysettingsrebate = 1.00M;
        /// <summary>
        ///空托倍率
        /// </summary>
        public decimal InlaySettingsRebate
        {
            get { return _inlaysettingsrebate; }
            set { this.ChangeNotify<decimal>("InlaySettingsRebate", value, ref _inlaysettingsrebate); }
        }
        #endregion

    }
}
